//@json
function main(tbl){
	tbl.put("table","sys_unit")
	try {
		if(isEmpty(tbl.company_id)){
			tbl.put("company_id",0)
		}
		$mager(tbl)
		return {code:0,msg:"更新成功!"}
	} catch (e) {
		return {code:404,msg:"更新失败!"}
	}
}